package com.yu.provider;

import com.yu.service.RpcServiceProperties;

/**
 * @PackageName: com.yu.provider
 * @Description:
 * @Version: v1.0.0
 * @Author: yuweilin
 * @Date: 13:22
 * <p>
 * Modification History:
 * Date         Author          Version            Description
 * ------------------------------------------------------------
 * 2021/1/23      yuweilin         v1.0.0               新建
 */
public interface ServiceProvider {
    //将服务注册发布到zk上
    void publishService(Object service, RpcServiceProperties rpcServiceProperties);

    Object getService(RpcServiceProperties rpcServiceProperties);

    void addService(Object service,Class<?> serviceClass,RpcServiceProperties rpcServiceProperties);
}
